<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class NZ_Session extends CI_Session 
{
    private static $_instance;
    
    public function __construct()
    {
        parent::__construct();
        self::$_instance =& $this;
    }
    
    public static function getInstance()
    {
        if (empty(self::$_instance)) {
            new self();
        }
        return self::$_instance;
    }
}